//
//  CQPopupBottomToolbarContentView.h
//  AppCommonUICollect
//
//  Created by ciyouzen on 2018/7/3.
//  Copyright © 2018年 dvlproad. All rights reserved.
//

#import "CQPopupBaseContentView.h"
#import "CQPopupTopView.h"

NS_ASSUME_NONNULL_BEGIN

@interface CQPopupBottomToolbarContentView : CQPopupBaseContentView {
    
}
@property (nonatomic, strong, readonly) CQPopupTopView *toolbar;
@property (nonatomic, strong, readonly) UIView *customView;

#pragma mark - Init
/*
 *  初始化弹窗视图
 *
 *  @param customView       弹窗中的自定义主视图
 *
 *  @return 弹窗视图
 */
- (instancetype)initWithCustomView:(UIView *)customView;
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE;


#pragma mark - Get Method
/*
 *  获取视图高度
 *
 *  @param customViewHeight 自定义视图的高度
 *
 *  @return 整个视图的高度
 */
+ (CGFloat)contentViewHeightWithCustomViewHeight:(CGFloat)customViewHeight;

@end

NS_ASSUME_NONNULL_END
